Skip to content

example: add microsoft/swin-large-patch4-window7-224#787

Merged
xieofxie merged 7 commits into
mainfrom
hualxie/ex_swing
Jun 2, 2026
Merged

example: add microsoft/swin-large-patch4-window7-224#787
xieofxie merged 7 commits into
mainfrom
hualxie/ex_swing

Conversation

@xieofxie

Copy link
Copy Markdown
Contributor

uv run ~\ModelKit\examples\microsoft-swin-large-patch4-window7-224\example.py --onnx ~.cache\winml\artifacts\microsoft_swin-large-patch4-window7-224\imgcls_ec485f4653d962b9_quantized.onnx
True label: house finch, linnet, Carpodacus mexicanus (synset=n01532829, id=12)

Top 5 predictions:

  1. house finch, linnet, Carpodacus mexicanus (0.9127)
  2. brambling, Fringilla montifringilla (0.0122)
  3. goldfinch, Carduelis carduelis (0.0028)
  4. chickadee (0.0013)
  5. junco, snowbird (0.0013)

Verdict (top-1): PASS

Annotated image written to prediction.png

@xieofxie xieofxie requested a review from a team as a code owner May 29, 2026 03:12
hualxie added 2 commits May 29, 2026 11:13
Comment thread examples/microsoft_swin-large-patch4-window7-224/example.py
DingmaomaoBJTU

This comment was marked as duplicate.

DingmaomaoBJTU

This comment was marked as duplicate.

DingmaomaoBJTU

This comment was marked as duplicate.

@DingmaomaoBJTU DingmaomaoBJTU left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall. Clean example with good documentation. The README walkthrough is easy to follow and the comparison table is a nice addition. A couple minor nits.

Comment thread examples/microsoft_swin-large-patch4-window7-224/example.py Outdated
Comment thread examples/microsoft_swin-large-patch4-window7-224/README.md
@xieofxie xieofxie merged commit fb29602 into main Jun 2, 2026
9 checks passed
@xieofxie xieofxie deleted the hualxie/ex_swing branch June 2, 2026 03:26
DingmaomaoBJTU pushed a commit that referenced this pull request Jun 5, 2026
uv run
~\ModelKit\examples\microsoft-swin-large-patch4-window7-224\example.py
--onnx
~\.cache\winml\artifacts\microsoft_swin-large-patch4-window7-224\imgcls_ec485f4653d962b9_quantized.onnx
True label: house finch, linnet, Carpodacus mexicanus (synset=n01532829,
id=12)

Top 5 predictions:
  1. house finch, linnet, Carpodacus mexicanus (0.9127)
  2. brambling, Fringilla montifringilla (0.0122)
  3. goldfinch, Carduelis carduelis (0.0028)
  4. chickadee (0.0013)
  5. junco, snowbird (0.0013)

Verdict (top-1): PASS

Annotated image written to prediction.png

---------

Co-authored-by: hualxie <hualxie@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants